<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="viewport"
          content="target-densitydpi=device-dpi, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>新建活动</title>
    <!--测试-->
    <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.css" rel="stylesheet">
    <link rel="stylesheet" href="./My97DatePicker/skin/WdatePicker.css">
    <link rel="stylesheet" href="../comment/Dialog.css">
    <link rel="stylesheet" href="./css/index.css">
</head>
<body>
<div class="main row">
    <div class="main-in col-xs-12">
        <div class="header">
            <div class="mi-t">
                <span class="mit-s">新建</span>
                <span>已创建</span>
            </div>
        </div>

        <section class="mi-c active">
            <div id="newActivity">
                <!-- 活动名称 -->
                <div class="controls">
                    <label>活动名称</label>
                    <input type="text" id="activityName" name="name" placeholder="单行输入">
                </div>

                <!-- 活动时间 -->
                <div class="controls">
                    <div class="controls-r">
                        <label>活动日期</label>

                        <input id="sdate" value="" class="Wdate"
                               onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',readOnly:true,maxDate:'#F{$dp.$D(\'edate\')}'})"/>
                        <span>至</span>
                        <input id="edate" value="" class="Wdate"
                               onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',readOnly:true,minDate:'#F{$dp.$D(\'sdate\')}',startDate:'#F{$dp.$D(\'sdate\',{d:+1})}'})"/>
                    </div>
                </div>
                <!-- 活动内容 -->
                <div class="controls">
                    <span>活动内容</span>
                    <!--<label>活动内容</label>-->
                    <!--<input type="text" id="aContent" name="aContent">-->
                    <textarea name="aContent" id="aContent" cols="30" rows="10" placeholder="请填写详细的活动内容"></textarea>
                </div>


                <!-- 立即创建 -->
                <div class="controls">
                    <div class="newActivity" onclick="setUp()">立即创建</div>
                </div>
            </div>

        </section>

        <section class="mi-c">
            <div id="btns">
                <button class="movable">待开始</button>
                <button>进行中</button>
                <button>已结束</button>
            </div>
            <div id="activeContent">
            </div>
        </section>
    </div>
</div>
<script src="../conmmJs/jquery-1.11.1.min.js"></script>
<script src="https://cdn.bootcss.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<script src="./My97DatePicker/WdatePicker.js"></script>
<script src="../comment/webUrl.js"></script>
<script src="../comment/MD5.js"></script>
<script src="../comment/Dialog.js"></script>
<script src="./js/index.js"></script>
</body>
</html>